package com.acme.exceptions;

import org.omg.CORBA.PRIVATE_MEMBER;

public class NotEnoughFundsException extends BankException{
    private double amount;

    public NotEnoughFundsException(final double amount){
        this.amount = amount;
    }

    public String getMessage(){
        return "Cannot withdraw this amount:" + amount;
    }

}
